package com.ai.ly.goodsautocat.vo;

import com.ai.ly.goodsautocat.common.Constants;

public class PredictSampleVO extends SampleVO{

    private int xLength;// x的长度

    public PredictSampleVO(int xLength) {
        super(xLength);
    }

    public String toString() {
        StringBuilder sb = new StringBuilder(xLength * 2 + Constants.lineSeparator.length());
        for (int i = 0; i < xLength; i++) {
            sb.append(getWordCount(i)).append(Constants.SPLIT_BLANK);
        }
        sb.append(Constants.lineSeparator);
        return sb.toString();
    }
}
